package com.baizhi.dao;

import com.baizhi.entity.CmfzAdmin;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: renpu
 * @Date: 2019/2/26 19:04
 * @Description:
 */
public interface CmfzAdminDao {

    public CmfzAdmin selectOneT(String userName);

    public CmfzAdmin selectOne(CmfzAdmin cmfzAdmin);

    public List<CmfzAdmin> selectAdmin(@Param("start")int start, @Param("pagesize")int pagesize);


    public int selectCount();

    public void updatePassword(CmfzAdmin admin);

    public void insert(CmfzAdmin admin);

    public void delete(int id);

}
